﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace MiniScrum.Models
{
    public class Team
    {
        public int Id { get; set; }
        [Required(ErrorMessage = "Team members must have a name. ")]
        public string Name { get; set; }
        public virtual ICollection<User> TeamMembers { get; set; }
    }
}